import config from './config/user'
import axios from '@/utils/request'
import { getLocal } from '@/utils/local.js'

// 注册 登录 校验
export const reg = (data) => axios.post(config.reg, data);
export const login = (data) => axios.post(config.login, data);
export const validate = () => axios.get(config.validate);

